package cn.darkhorse.mesmeter.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用电名称表
 * </p>
 *
 * @author maoguanjun
 * @since 2023-08-29
 */
@Getter
@Setter
  @TableName("mes_meter_electricity_info")
@ApiModel(value = "MesMeterElectricityInfo对象", description = "用电名称表")
public class MesMeterElectricityInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("用电名称")
      private String electricityName;

      @ApiModelProperty("用电类型")
      private Integer electricityType;

      @ApiModelProperty("创建时间")
      private LocalDateTime createDate;

      @ApiModelProperty("修改时间")
      private LocalDateTime modifyDate;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;
      @ApiModelProperty("父类ID")
      private Long parentId;
      @ApiModelProperty("级别")
      private Integer level;


}
